<template>
  <div class="header">
    City
    <router-link :to="{name: 'home'}">
      <div class="iconfont back-icon">&#xe624;</div>
    </router-link>
  </div>
</template>

<script>
export default {
  name: 'cityHeader'
}
</script>

<style lang="stylus" scoped>
@import '~styles/varibles.styl'

.header
  position relative
  height .86rem
  line-height .86rem
  text-align center
  color #fff
  background $bgColor
  font-size .4rem
  .back-icon
    position absolute
    top 0
    left 0
    width .46rem
    font-size .4rem
    text-align center
    color #fff
</style>
